package com.example.yunJie.digitalSentry.util;

import com.example.yunJie.digitalSentry.entity.PersonalEntity;

import java.util.List;

public class PageInfo {
    //总条数
    private int totals;
    //当前页数
    private int pageNum;
    //一页的条数
    private int pageSize;

    private List<PersonalEntity> personalList;

    public int getTotals() {
        return totals;
    }

    public void setTotals(int totals) {
        this.totals = totals;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<PersonalEntity> getPersonalList() {
        return personalList;
    }

    public void setPersonalList(List<PersonalEntity> personalList) {
        this.personalList = personalList;
    }
}
